"""
@Author：WangYuXiang
@E-mile：Hill@3io.cc
@CreateTime：2021/4/22 14:48
@DependencyLibrary：无
@MainFunction：无
@FileDoc： 
    models.py
    文件说明
@ChangeHistory:
    datetime action why
    example:
    2021/4/22 14:48 change 'Fix bug'
        
"""
from tortoise import Model, fields


class BaseModel(Model):
    class Meta:
        abstract = True

    create_time = fields.DatetimeField(auto_now_add=True, null=True, description='创建时间')
    update_time = fields.DatetimeField(auto_now=True, null=True, description='最新一次数据更新时间')
